package org.opens.baseMenu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "base_menu")
public class BaseMenuEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(value = "menu_name")
    private String menuName;

    @TableField(value = "menu_code")
    private String menuCode;

    @TableField(value = "menu_code_hash")
    private Integer menuCodeHash;

    @TableField(value = "org_code")
    private Long orgCode;

}
